package com.pro.framework.spring.util;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "spring")
public class SpringProperties {
    private Application application;

    @Data
    public static class Application {
        private String name;
    }
}
